import Tools from 'tools/index';
export default {
    

    // 选择日期和时间段
    async SelectDateCycleApplication(params_) {
        // 打开加载遮罩层
        Tools.setLoad(true);
        let _d = await import("./index.js");
        // 关闭加载遮罩层
        Tools.setLoad(false);
        if (params_.list == undefined) {
            params_.list = []
        }
        if (params_.index == undefined) {
            params_.index = -1
        }

        _d.default.init({
            list: params_.list,
            index: params_.index,
            onSuccess: (r) => {
                params_.onSuccess(r)
            },
        })
    },

}